package com.bite.springblog.common.exception;

import lombok.Data;

@Data
public class BlogException extends RuntimeException{
    private Integer code;
    private String errMge;

    public BlogException(String errMge){
        this.errMge = errMge;
    }

    public BlogException(String errMge,Integer code){
        this.errMge = errMge;
        this.code = code;
    }
}
